package com.cc.springboot.service.test02;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.cc.springboot.test02.User2Mapper;


@Service
public class User2Service {
	@Autowired
	private User2Mapper user2Mapper;


	public int addUser(Integer id, String name) {
		return user2Mapper.addUser(id, name);
	}

}
